projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50453d4
)
emoji: Start search on the first character
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Aug 2017 11:49:13 +0000
(07:49 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 13 Aug 2017 11:51:33 +0000
(07:51 -0400)
There is no need to wait for a longer prefix here.
We already display all the content anyway, it will
only get less.
gtk/gtkemojichooser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkemojichooser.c
b/gtk/gtkemojichooser.c
index a26e7dc7fed5665e1ed5db40dcffece7ef18e75a..be12a5f7829b7ab2c2a6fe26086a216207761249 100644
(file)
--- a/
gtk/gtkemojichooser.c
+++ b/
gtk/gtkemojichooser.c
@@
-381,7
+381,7
@@
filter_func (GtkFlowBoxChild *child,
text = gtk_entry_get_text (GTK_ENTRY (chooser->search_entry));
emoji_data = (GVariant *) g_object_get_data (G_OBJECT (child), "emoji-data");
- if (text[0] == 0
|| text[1] == 0
)
+ if (text[0] == 0)
goto out;
if (!emoji_data)